<%@page import="java.util.Locale"%>
<%@page import="com.opensymphony.xwork2.ActionContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/style.css" type="text/css" rel="stylesheet" />
<title>Astaldo Group</title>

</head>
<body>
	<%
		Locale loc = (Locale) session.getAttribute("WW_TRANS_I18N_LOCALE");
		String lang = null;
		if (loc != null)
			lang = loc.getLanguage();

		if (lang != null) {
			String redirectURL = "action/lang?url=main.jsp&request_locale="
					+ lang;
			response.sendRedirect(redirectURL);
		} else {
			String redirectURL = "action/lang?url=main.jsp&request_locale="
					+ "ru";
			response.sendRedirect(redirectURL);
		}
	%>
</body>
</html>